package com.ipc.core.entity.zzcool;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;


/**
 * (CouponDetails)表实体类
 *
 * @author makejava
 * @since 2023-04-30 18:33:20
 */
@Data
@TableName("t_coupon_details")
public class CouponDetails extends Model<CouponDetails> {
    //优惠卷详情id
    @TableId(type = IdType.AUTO)
    private Integer id;
    //关联优惠卷ID
    private Integer cid;
    //兑换码
    private String redeemcode;
    //是否使用0未使用1已使用
    private String isuse;
    //是否被领取0未领取1已领取
    private String isget;
    //是否过期0未过期1已过期
    private String staledated;

    public CouponDetails(Integer cid, String redeemcode, String isuse, String isget, String staledated) {
        this.cid = cid;
        this.redeemcode = redeemcode;
        this.isuse = isuse;
        this.isget = isget;
        this.staledated = staledated;
    }
}

